hackerrank reverse a doubly linked list solution

welcome to shbcf.ru